package com.lemonsama.lesson1;

import java.awt.*;

public class MyFrame extends Frame {
    static int count = 0;
    public MyFrame(int x, int y, int w, int h, Color color) {
        super("MyFrame" + (++count));
        setBackground(color);
        this.setVisible(true);
        this.setBounds(x, y, w, h);
    }
}
